package com.huangwenshuo.futurestarschoolmanagement.service;

import com.huangwenshuo.futurestarschoolmanagement.pojo.dto.WorkDto;
import com.huangwenshuo.futurestarschoolmanagement.pojo.po.WorksPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huangwenshuo.futurestarschoolmanagement.pojo.vo.WorksVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangwenshuo
 * @since 2021-03-06
 */
public interface WorksService extends IService<WorksPo> {

    void addWork(WorkDto.AddWork addWork);

    void upaWork(WorkDto.AddWork addWork);

    Map<String, Object> getMyWorks(WorkDto.GetWork getWork);

    List<WorksVo> getShowMyWorks(Integer uid);

    void updateShow(Integer uid, Integer aid, Integer show);
}
